package Business;

/**
 * Created by IntelliJ IDEA.
 * User: nelson
 */
public class Layer3 {


    public void startServer(int p)
    {
        Thread t;
        Server3 servidor = new Server3(p);
        t = new Thread(servidor);
        t.start();
        try{
            //	t.join();
        } catch (Exception e) { e.printStackTrace();}
    }

    public void connect(int p)
    {
        Client3 receptor = new Client3(p);
        new Thread(receptor).start();
    }

}
